Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.smart.folder.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.smart.folder.actions inside nuxeo-platform-smart-folder-jsf-5.8.jar

Documentation

Adds a new tab for the smart folder view, and adds a button to save the global smart search form into a smart folder.

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action id="TAB_SMART_FOLDER_VIEW" label="action.view.content" link="/incl/tabs/smart_folder_view.xhtml" order="10">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>view_smart_folder</filter-id>
        </action>
  • <action id="saveQueryAsSmartFolder" immediate="true" label="command.saveSmartSearch" link="#{smartNXQLFolderActions.saveQueryAsDocument('SmartFolder')}" order="10">
          <category>SMART_SEARCH_BUTTONS</category>
          <!-- TODO: filter when no personal workspace is available -->
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <documentation>
      Adds a new tab for the smart folder view, and adds a button to save the
      global smart search form into a smart folder.
    </documentation>

    <action id="TAB_SMART_FOLDER_VIEW" label="action.view.content" link="/incl/tabs/smart_folder_view.xhtml" order="10">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>view_smart_folder</filter-id>
    </action>

    <action id="saveQueryAsSmartFolder" immediate="true" label="command.saveSmartSearch" link="#{smartNXQLFolderActions.saveQueryAsDocument('SmartFolder')}" order="10">
      <category>SMART_SEARCH_BUTTONS</category>
      <!-- TODO: filter when no personal workspace is available -->
    </action>

  </extension>